package com.coordinate.map;

public  class MapKey {

   public static String
   key(String pServerName)
   {
	   String lKey = null;
	  
	  
	  
	 if(pServerName.equals("localhost"))
	 {
		 lKey = "ABQIAAAAPdAkWd84DygzuEVXHLAGCRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTK9LNKd17Ir5G8tL7fwNekc7GbHQ";
	 }
	 else if(pServerName.equals("192.168.1.230"))
	 {
		 lKey = "ABQIAAAAPdAkWd84DygzuEVXHLAGCRTz-i5T0A9di_xhSyN6m3ySlZjY_hSK3HMLbjW1LQ2H-dTfBbVoHLL8aQ";
	 }
	 else if(new StringBuffer(pServerName).indexOf("appspot.com") > 0 )
	 {
		 lKey = "ABQIAAAAPdAkWd84DygzuEVXHLAGCRRlOb26qSyU154aZeLwOrF4C7-DphSQihpt_8T0cm5SsYKdyjWNrteydw";
	 }
	 System.out.println("Retuning map key for" + pServerName + " : "+ lKey);
	 return lKey;
   }
	
}
